<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style>
        </style>
    </head>
    <body>
        <div id="app">
            <img v-bind:src="imgUrl" alt="">
            <a v-bind:href="baiduUrl">百度一下</a>

            <!-- 语法糖写法 -->
            <img :src="imgUrl" alt="">
            <a :href="baiduUrl">百度一下</a>
        </div>
        <script src="../js/vue.js"></script>
        <script>
            const app = new Vue({
                el: '#app',
                data: {
                    imgUrl: 'https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=2534506313,1688529724&fm=26&gp=0.jpg',
                    baiduUrl: 'http://www.baidu.com'
                }
            })
        </script>
    </body>
</html>